package algo.map;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/5/4 22:45
 * @Version 1.0
 */
public interface Map<K, V> {
    void add(K key, V value);

    V remove(K key);

    boolean contains(K key);

    V get(K key);

    void set(K key, V value);

    int getSize();

    boolean isEmpty();
}
